import http from '@/utils/request'

/**
 * 首页-广告区域
 * @returns {Promise} axios Promise
 */
export interface Banner {
  id: string;
  imgUrl: string;
  hrefUrl: string;
  type: string;
}

export const findHomeBanner = () => {
  return http<Banner[]>('/home/banner', 'get')
}
